package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.MainOrderExample;
import com.ymttest.database.sharding.db.sharding.model.MainOrderPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MainOrderMapper {
    int countByExample(MainOrderExample example);

    int deleteByExample(MainOrderExample example);

    int deleteByPrimaryKey(Long mainOrderId);

    int insert(MainOrderPo record);

    int insertSelective(MainOrderPo record);

    List<MainOrderPo> selectByExample(MainOrderExample example);

    MainOrderPo selectByPrimaryKey(Long mainOrderId);

    int updateByExampleSelective(@Param("record") MainOrderPo record, @Param("example") MainOrderExample example);

    int updateByExample(@Param("record") MainOrderPo record, @Param("example") MainOrderExample example);

    int updateByPrimaryKeySelective(MainOrderPo record);

    int updateByPrimaryKey(MainOrderPo record);
}